package com.systop.busafter.location.service;
import com.systop.commer.pojo.Location;
import java.util.List;

public interface LocationService {
    /*
     * id修改location
     * location location
     * return int
     * csh
     *
     * */
    int updatalocation(Location location);

    /*
     *通过司机id修改状态
     * location location
     * return int
     * csh
     * */
    int uplocationdriver(Location location);

    //"time = #{time,jdbcType=TIMESTAMP} "  时间类型

    /*
     * 添加location
     * location location
     * return int
     * csh
     * */
    int insertlocation(Location location);


    /*
     * 查看全部
     * 无
     * list
     * csh
     * */
    List<Location> locationListall();

    /*
     * 用id查看location
     * location_id  int
     * list
     * csh
     * */
    List<Location> locationIdlist(int location_id);

    /*
     * 用id查看location
     * location_id  int
     * 实体类
     * csh
     * */
    Location LocationId(int location_id);
    /*
     * 删除location
     * location_id  int
     * return int
     * csh
     * */
    int deletelocation(int location_id);

    /*
     * 通过司机id查
     * location_id  int
     * list
     * csh
     * */
    List<Location> locationdriverid(int location_driver_id);

    /*
     * 通过司机id,状态查
     * location_id  int
     * list
     * csh
     * */
    List<Location> locationdriverids(Location location);

}
